﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Class1 zz = new Class1();
            double yuan = zz.mianji(4);
            double cfx = zz.mianji(2, 3);
            double yuanz = zz.zhouchang(4);
            double cfxz = zz.zhouchang(2, 3);
            Console.WriteLine("园的面积"+yuan);
            Console.WriteLine("园的周长" + yuanz);
            Console.WriteLine("长方形的面积" + cfx);
            Console.WriteLine("长方形的周长" + cfxz);
            int dudu = zz.jisuan(5);
            Console.WriteLine(dudu);
        }
    }
}
